From 2a90619d9f0d2b523dda31d3da6edb4ebbc88e89 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 30 Jan 2012 20:23:01 +0000 Subject: [PATCH] Use Language::userTimeAndDate() instead of Language::timeanddate() to display timestamp with user preferences --- includes/specials/SpecialDeletedContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialDeletedContributions.php b/includes/specials/SpecialDeletedContributions.php index 820884436f..0581867536 100644 --- a/includes/specials/SpecialDeletedContributions.php +++ b/includes/specials/SpecialDeletedContributions.php @@ -182,7 +182,7 @@ class DeletedContribsPager extends IndexPager { } $comment = Linker::revComment( $rev ); - $date = htmlspecialchars( $this->getLanguage()->timeanddate( $rev->getTimestamp(), true ) ); + $date = htmlspecialchars( $this->getLanguage()->userTimeAndDate( $rev->getTimestamp(), $user ) ); if( !$user->isAllowed( 'undelete' ) || !$rev->userCan( Revision::DELETED_TEXT, $user ) ) { $link = $date; // unusable link -- 2.20.1